package cn.qingyun.gis.modules.baogan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 包干团队人员表实体对象
 * @Version: V1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("baogan_team")
@ApiModel(value = "BaoganTeam对象", description = "BaoganTeam对象")
public class BaoganTeam implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 直销人员id
     */
    @ApiModelProperty(value = "直销人员id")
    @Excel(name = "直销人员id", width = 15)
    private String userId;
    /**
     * 直销员姓名
     */
    @ApiModelProperty(value = "直销员姓名")
    @Excel(name = "直销员姓名", width = 15)
    private String userName;
    /**
     * 直销员工号
     */
    @ApiModelProperty(value = "直销员工号")
    @Excel(name = "直销员工号", width = 15)
    private String userEmployeeNumber;
    /**
     * 直销员手机号
     */
    @ApiModelProperty(value = "直销员手机号")
    @Excel(name = "直销员手机号", width = 15)
    private String userPhone;
    /**
     * 直销员渠道编码
     */
    @ApiModelProperty(value = "直销员渠道编码")
    @Excel(name = "直销员渠道编码", width = 15)
    private String orgCode;
    /**
     * 直销员渠道名称
     */
    @ApiModelProperty(value = "直销员渠道名称")
    @Excel(name = "直销员渠道名称", width = 15)
    private String orgName;
    /**
     * 地市编码
     */
    @ApiModelProperty(value = "地市编码")
    @Excel(name = "地市编码", width = 15)
    private String userCityCode;
    /**
     * 地市名称
     */
    @ApiModelProperty(value = "地市名称")
    @Excel(name = "地市名称", width = 15)
    private String userCity;
    /**
     * 区县编码
     */
    @ApiModelProperty(value = "区县编码")
    @Excel(name = "区县编码", width = 15)
    private String userDistrictCode;
    /**
     * 区县名称
     */
    @ApiModelProperty(value = "区县名称")
    @Excel(name = "区县名称", width = 15)
    private String userDistrict;
    /**
     * 归属网格编码
     */
    @ApiModelProperty(value = "归属网格编码")
    @Excel(name = "归属网格编码", width = 15)
    private String userGrid;
    /**
     * 归属网格名称
     */
    @ApiModelProperty(value = "归属网格名称")
    @Excel(name = "归属网格名称", width = 15)
    private String userGridName;
    /**
     * 身份
     */
    @ApiModelProperty(value = "身份")
    @Excel(name = "身份", width = 15)
    private String userIdentity;

    /**
     * 加入团队时间
     */
    @ApiModelProperty(value = "加入团队时间")
    @Excel(name = "加入团队时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;
    /**
     * 团队id
     */
    @ApiModelProperty(value = "团队id")
    @Excel(name = "团队id", width = 15)
    private String teamId;
    /**
     * 团队名称
     */
    @ApiModelProperty(value = "团队名称")
    @Excel(name = "团队名称", width = 15)
    private String teamName;
    /**
     * 团队创建时间
     */
    @ApiModelProperty(value = "团队创建时间")
    @Excel(name = "团队创建时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * 队长姓名
     */
    @ApiModelProperty(value = "队长姓名")
    @Excel(name = "队长姓名", width = 15)
    private String userCaptainName;
    /**
     * 队长工号
     */
    @ApiModelProperty(value = "队长工号")
    @Excel(name = "队长工号", width = 15)
    private String userCaptainJob;
    /**
     * 队长手机号
     */
    @ApiModelProperty(value = "队长手机号")
    @Excel(name = "队长手机号", width = 15)
    private String userCaptainPhone;
    /**
     * 队长渠道编码
     */
    @ApiModelProperty(value = "队长渠道编码")
    @Excel(name = "队长渠道编码", width = 15)
    private String orgCaptainCode;
    /**
     * 队长渠道名称
     */
    @ApiModelProperty(value = "队长渠道名称")
    @Excel(name = "队长渠道名称", width = 15)
    private String orgCaptainName;

    /**
     * 数据更新时间
     */
    @ApiModelProperty(value = "数据更新时间")
    @Excel(name = "数据更新时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateCaptainDate;
}
